
<!-- Company -->
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:gr="http://purl.org/goodrelations/v1#" 
xmlns:vcard="http://www.w3.org/2006/vcard/ns#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
<div about="{{uri}}" typeof="gr:BusinessEntity">
	<div rel="foaf:maker" resource="{{maker}}"></div> 
	<div property="gr:legalName" content="{{company_name}}"></div>
{% if country %}
	<div rel="vcard:adr">
		<div about="{{addr_uri}}" typeof="vcard:Address">
{% if country %}
			<div property="vcard:country-name" content="{{country}}" xml:lang="{{language}}"></div>
{% endif %}
{% if city %}
			<div property="vcard:locality" content="{{city}}" xml:lang="{{language}}"></div>
{% endif %}
{% if zip %}
			<div property="vcard:postal-code" content="{{zip}}" datatype="xsd:string"></div>
{% endif %}
{% if street %}
			<div property="vcard:street-address" content="{{street}}" xml:lang="{{language}}"></div>
{% endif %}
		</div>
	</div>
{% endif %}
{% if phone %}
	<div property="vcard:tel" content="{{phone}}"></div>
{% endif %}
{% if logo_uri %}
	<div rel="foaf:logo" resource="{{logo_uri}}"></div>	
{% endif %}
	<div rel="foaf:page" resource="{{page}}"></div>	
{% if duns %}
	<div property="gr:hasDUNS" content="{{duns}}" datatype="xsd:string"></div>
{% endif %}
{% if gln %}
	<div property="gr:hasGlobalLocationNumber" content="{{gln}}" datatype="xsd:string"></div>
{% endif %}
{% if isic %}
	<div property="gr:hasISICv4" content="{{isic}}" datatype="xsd:string"></div>
{% endif %}
{% if naics %}
	<div property="gr:hasNAICS" content="{{naics}}" datatype="xsd:string"></div>
{% endif %}
</div>
</div>